/**
 * 
 */
package com.gragra.parseOptions;
/**
 * This class provides a simple implementation of the getDescription functionality for OptionInformation
 * implementations. The descriptions is given when an instance is created and is used whenever getDescription
 * is called
 * @author Christoph Teichmann
 * 22.04.2013
 */
public abstract class DescribeAtCreationOption implements OptionInformation
{
	/**
	 * the description that will be re-used throughout
	 */
	private final String description;
	/**
	 * creates a new instance that will return the given description
	 * @param description
	 */
	public DescribeAtCreationOption(String description)
	{this.description = description;}
	/* (non-Javadoc)
	 * @see com.gragra.parseOptions.OptionInformation#getDescription()
	 */
	@Override
	public String getDescription()
	{return this.description;}
}